<template>
  <div id="app">
    <!-- 导航栏 -->
    <!-- 正常导航栏 -->
    <normal-nav-bar v-if="$route.query.link !== 'cpzx' && $route.query.link !== 'fazx'"></normal-nav-bar>

    <!-- 产品中心导航栏 -->
    <cpzx-nav-bar v-if="$route.query.link === 'cpzx'"></cpzx-nav-bar>

    <!-- 方案中心导航栏 -->
    <fazx-nav-bar v-if="$route.query.link === 'fazx'"></fazx-nav-bar>


    <!-- 页面 -->
    <router-view></router-view>
  </div>
</template>

<script>

import NormalNavBar from "components/common/navbar/NormalNavBar.vue";
import CpzxNavBar from "components/common/navbar/CpzxNavBar.vue";
import FazxNavBar from "components/common/navbar/FazxNavBar.vue";


  export default {
    name: "App",
    components: {
      NormalNavBar,
      CpzxNavBar,
      FazxNavBar,
    },
  }
</script>


<style>
  /* 引入base.css */
  @import url("./assets/css/base.css");
  
</style>
